//
//  LZMapLocationManager.h
//  laziz_Consumer
//
//  Created by xbnzd on 16/12/9.
//  Copyright © 2016年 XBN. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

typedef void (^LocationUpdateCompletion) (CLLocation *aLocation,NSString *cityName);
typedef void (^LocationFailedBlock) (NSError *error);

@interface LZMapLocationManager : NSObject<CLLocationManagerDelegate>
@property (strong, nonatomic) CLLocation *currentLocation;
@property (copy, nonatomic) NSString *cityName;
@property (nonatomic ,assign) BOOL isOpenLocation;

+ (instancetype) shareLocationManager;

- (void)startLocationSuccess:(LocationUpdateCompletion)completionBlock Failed:(LocationFailedBlock)faildBlock;

- (void)appStartLocationServer;

@end
